home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 4
/
Amiga Tools 4.iso
/
tools
/
netzwerk
/
tcp-ip
/
usno
/
docs
/
timesrv.man
< prev
next >
Wrap
Text File
|
1996-02-26
|
1KB
|
67 lines
timesrv(1) timesrv(1)
local
NAME
timesrv - set local system time to time server host system time
SYNOPSIS
timesrv <hostname>
DESCRIPTION
Timesrv provides a TCP service on an Internet time server host using
BSD Internet Stream Sockets. It obtains the current system time of
the server's system clock time as a long int in units of seconds since
the Epoch (end of 1969), and sends it out on stream socket 22375 (an
arbitrary number, which must be matched on the client host). Normally
the time server is a system that sychronizes to Master Clock time.
timesrv is designed to be spawned by inetd
timesrv requires the following entry in /etc/services:
timesrv 22375/tcp
and the following entry in /etc/inetd.conf:
timesrv stream tcp nowait root /usr/local/bin/timesrv timesrv
After adding these lines, inetd must be restarted with the command:
/etc/inetd -c
AUTHOR
timesrv written by Rich Schmidt, US Naval Observatory, 1992.
SEE ALSO
time_set(1), timecheck(1), time(2), stime(2).
- 1 - Formatted: June 12, 1992